package com.smart.system.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smart.system.domain.BucketCapacityRecord;

/**
 * 容量记录Mapper接口
 *
 * @author smart
 * @date 2025-01-03
 */
public interface BucketCapacityRecordMapper extends BaseMapper<BucketCapacityRecord> {
    /**
     * 查询容量记录
     *
     * @param id 容量记录主键
     * @return 容量记录
     */
    public BucketCapacityRecord selectBucketCapacityRecordById(String id);

    /**
     * 查询容量记录列表
     *
     * @param bucketCapacityRecord 容量记录
     * @return 容量记录集合
     */
    public List<BucketCapacityRecord> selectBucketCapacityRecordList(BucketCapacityRecord bucketCapacityRecord);

    /**
     * 新增容量记录
     *
     * @param bucketCapacityRecord 容量记录
     * @return 结果
     */
    public int insertBucketCapacityRecord(BucketCapacityRecord bucketCapacityRecord);

    /**
     * 修改容量记录
     *
     * @param bucketCapacityRecord 容量记录
     * @return 结果
     */
    public int updateBucketCapacityRecord(BucketCapacityRecord bucketCapacityRecord);

    /**
     * 删除容量记录
     *
     * @param id 容量记录主键
     * @return 结果
     */
    public int deleteBucketCapacityRecordById(String id);

    /**
     * 批量删除容量记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBucketCapacityRecordByIds(String[] ids);
}